<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs for page ContainerBuilder.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="file-name"><img src="../media/images/Page_logo.png" alt="File" style="vertical-align: middle">/slinks/core/DependencyInjection/ContainerBuilder.php</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
							<a href="#sec-classes">Classes</a>
			|													<a href="#sec-functions">Functions</a>
			</div>
	<div class="info-box-body">	
		<!-- ========== Info from phpDoc block ========= -->
		
			</div>
</div>
		
	<a name="sec-classes"></a>	
	<div class="info-box">
		<div class="info-box-title">Classes</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
			<span class="disabled">Classes</span>
			|																<a href="#sec-functions">Functions</a>
					</div>
		<div class="info-box-body">	
			<table cellpadding="2" cellspacing="0" class="class-table">
				<tr>
					<th class="class-table-header">Class</th>
					<th class="class-table-header">Description</th>
				</tr>
								<tr>
					<td style="padding-right: 2em; vertical-align: top; white-space: nowrap">
						<img src="../media/images/Class.png"
								 alt=" class"
								 title=" class"/>
						<a href="../default/ContainerBuilder.html">ContainerBuilder</a>
					</td>
					<td>
											ContainerBuilder is a DI container that provides an API to easily describe services.
										</td>
				</tr>
							</table>
		</div>
	</div>

	
	
	
	<a name="sec-functions"></a>	
	<div class="info-box">
		<div class="info-box-title">Functions</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
							<a href="#sec-classes">Classes</a>
				|															<span class="disabled">Functions</span>
		</div>
		<div class="info-box-body">	
			
Warning: strftime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EDT/-4.0/DST' instead in /usr/share/php/Smarty/Smarty_Compiler.class.php on line 400

Call Stack:
    0.0001     627192   1. {main}() /usr/bin/phpdoc:0
    0.0002     640216   2. require('/usr/share/pear/PhpDocumentor/phpDocumentor/phpdoc.inc') /usr/bin/phpdoc:40
    0.0539   13991360   3. phpDocumentor_setup->createDocs(???) /usr/share/pear/PhpDocumentor/phpDocumentor/phpdoc.inc:65
   12.1417  137892640   4. phpDocumentor_IntermediateParser->Output(???) /usr/share/pear/PhpDocumentor/phpDocumentor/Setup.inc.php:761
   13.4816  140192808   5. phpDocumentor_IntermediateParser->Convert(string(23), class HTMLframesConverter) /usr/share/pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1865
   13.4816  140193024   6. Converter->walk(array(379), array(0)) /usr/share/pear/PhpDocumentor/phpDocumentor/IntermediateParser.inc:1652
   30.1615  147826112   7. HTMLframesConverter->endPage() /usr/share/pear/PhpDocumentor/phpDocumentor/Converter.inc:1939
   30.1616  147828560   8. Smarty->fetch(string(8), ???, ???, ???) /usr/share/pear/PhpDocumentor/phpDocumentor/Converters/HTML/frames/HTMLframesConverter.inc:366
   30.1625  148049000   9. include('/home/navid/workspaces/NetBeansProjects/Slinks/docs/default/37fe0d91c3b034db82eb2bc6d4fa57b5/%%D8^D8B^D8BE8273%%page.tpl.php') /usr/share/php/Smarty/Smarty.class.php:1263
   30.1631  148053160  10. Smarty->_smarty_include(array(2)) /home/navid/workspaces/NetBeansProjects/Slinks/docs/default/37fe0d91c3b034db82eb2bc6d4fa57b5/%%D8^D8B^D8BE8273%%page.tpl.php:262
   30.1632  148056720  11. Smarty->_compile_resource(string(12), string(128)) /usr/share/php/Smarty/Smarty.class.php:1867
   30.1633  148062632  12. Smarty->_compile_source(string(12), string(2235), string(11365), string(128)) /usr/share/php/Smarty/Smarty.class.php:1422
   30.1635  148146064  13. Smarty_Compiler->_compile_file(string(12), string(2235), string(11365)) /usr/share/php/Smarty/Smarty.class.php:1489
   30.1783  148220264  14. strftime(string(17)) /usr/share/php/Smarty/Smarty_Compiler.class.php:400

<a name="functionaddAliases" id="functionaddAliases"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addAliases</span> (line <span class="line-number">385</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds the service aliases.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addAliases
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$aliases</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aliases</span><span class="var-description">: An array of aliases</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddCompilerPass" id="functionaddCompilerPass"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addCompilerPass</span> (line <span class="line-number">154</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds a compiler pass at the end of the current passes</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addCompilerPass
		</span>
					(<span class="var-type"><a href="../default/CompilerPassInterface.html">CompilerPassInterface</a></span>&nbsp;<span class="var-name">$pass</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$type</span> = <span class="var-default">PassConfig::TYPE_BEFORE_OPTIMIZATION</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/CompilerPassInterface.html">CompilerPassInterface</a></span>
				<span class="var-name">$pass</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$type</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddDefinitions" id="functionaddDefinitions"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addDefinitions</span> (line <span class="line-number">565</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds the service definitions.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addDefinitions
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$definitions</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">Definition[]</span>
				<span class="var-name">$definitions</span><span class="var-description">: An array of service definitions</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddInterfaceInjector" id="functionaddInterfaceInjector"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addInterfaceInjector</span> (line <span class="line-number">481</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds an InterfaceInjector.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addInterfaceInjector
		</span>
					(<span class="var-type"><a href="../default/InterfaceInjector.html">InterfaceInjector</a></span>&nbsp;<span class="var-name">$injector</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/InterfaceInjector.html">InterfaceInjector</a></span>
				<span class="var-name">$injector</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddInterfaceInjectors" id="functionaddInterfaceInjectors"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addInterfaceInjectors</span> (line <span class="line-number">496</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds multiple InterfaceInjectors.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addInterfaceInjectors
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$injectors</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$injectors</span><span class="var-description">: An array of InterfaceInjectors</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddObjectResource" id="functionaddObjectResource"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addObjectResource</span> (line <span class="line-number">114</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds the object class hierarchy as resources.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			addObjectResource
		</span>
					(<span class="var-type">object</span>&nbsp;<span class="var-name">$object</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$object</span><span class="var-description">: An object instance</span>			</li>
				</ul>
		
	
</div>
<a name="functionaddResource" id="functionaddResource"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">addResource</span> (line <span class="line-number">102</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Adds a resource for this configuration.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The current instance</li>
			</ul>
	<div class="method-signature">
		<span class="method-result"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>
		<span class="method-name">
			addResource
		</span>
					(<span class="var-type"><a href="../default/ResourceInterface.html">ResourceInterface</a></span>&nbsp;<span class="var-name">$resource</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/ResourceInterface.html">ResourceInterface</a></span>
				<span class="var-name">$resource</span><span class="var-description">: A resource instance</span>			</li>
				</ul>
		
	
</div>
<a name="functioncompile" id="functioncompile"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">compile</span> (line <span class="line-number">361</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Compiles the container.</p>
<p class="description"><p>This method passes the container to compiler  passes whose job is to manipulate and optimize  the container.</p><p>The main compiler passes roughly do four things:</p><p>* The extension configurations are merged;   * Parameter values are resolved;   * The parameter bag is frozen;   * Extension loading is disabled.</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			compile
		</span>
				()
			</div>

		
	
</div>
<a name="functioncreateService" id="functioncreateService"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">createService</span> (line <span class="line-number">678</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Creates a service for a service definition.</p>
	<ul class="tags">
				<li><span class="field">return:</span> service described by the service definition</li>
				<li><span class="field">throws:</span> \InvalidArgumentException When configure callable is not callable</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">object The</span>
		<span class="method-name">
			createService
		</span>
					(<span class="var-type"><a href="../default/Definition.html">Definition</a></span>&nbsp;<span class="var-name">$definition</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/Definition.html">Definition</a></span>
				<span class="var-name">$definition</span><span class="var-description">: A service definition instance</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functionfindDefinition" id="functionfindDefinition"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">findDefinition</span> (line <span class="line-number">657</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets a service definition by id or alias.</p>
<p class="description"><p>The method &quot;unaliases&quot; recursively to return a Definition instance.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> A Definition instance</li>
				<li><span class="field">throws:</span> \InvalidArgumentException if the service definition does not exist</li>
			</ul>
	<div class="method-signature">
		<span class="method-result"><a href="../default/Definition.html">Definition</a></span>
		<span class="method-name">
			findDefinition
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier or alias</span>			</li>
				</ul>
		
	
</div>
<a name="functionfindTaggedServiceIds" id="functionfindTaggedServiceIds"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">findTaggedServiceIds</span> (line <span class="line-number">776</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns service ids for a given tag.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of tags</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			findTaggedServiceIds
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The tag name</span>			</li>
				</ul>
		
	
</div>
<a name="functionget" id="functionget"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">get</span> (line <span class="line-number">249</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets a service.</p>
	<ul class="tags">
				<li><span class="field">return:</span> associated service</li>
				<li><span class="field">see:</span> <a href="../default/Reference.html">Reference</a></li>
				<li><span class="field">throws:</span> \InvalidArgumentException if the service is not defined</li>
				<li><span class="field">throws:</span> \LogicException if the service has a circular reference to itself</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">object The</span>
		<span class="method-name">
			get
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">int</span>&nbsp;<span class="var-name">$invalidBehavior</span> = <span class="var-default">ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$invalidBehavior</span><span class="var-description">: The behavior when the service does not exist</span>			</li>
				</ul>
		
	
</div>
<a name="functiongetAlias" id="functiongetAlias"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getAlias</span> (line <span class="line-number">465</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets an alias.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The aliased service identifier</li>
				<li><span class="field">throws:</span> \InvalidArgumentException if the alias does not exist</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">string</span>
		<span class="method-name">
			getAlias
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functiongetAliases" id="functiongetAliases"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getAliases</span> (line <span class="line-number">451</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets all defined aliases.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of aliases</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getAliases
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetCompiler" id="functiongetCompiler"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getCompiler</span> (line <span class="line-number">176</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the compiler instance</p>
	<div class="method-signature">
		<span class="method-result"><a href="../default/Compiler.html">Compiler</a></span>
		<span class="method-name">
			getCompiler
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetCompilerPassConfig" id="functiongetCompilerPassConfig"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getCompilerPassConfig</span> (line <span class="line-number">166</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the compiler pass config which can then be modified</p>
	<div class="method-signature">
		<span class="method-result"><a href="../default/PassConfig.html">PassConfig</a></span>
		<span class="method-name">
			getCompilerPassConfig
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetDefinition" id="functiongetDefinition"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getDefinition</span> (line <span class="line-number">635</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets a service definition.</p>
	<ul class="tags">
				<li><span class="field">return:</span> A Definition instance</li>
				<li><span class="field">throws:</span> \InvalidArgumentException if the service definition does not exist</li>
			</ul>
	<div class="method-signature">
		<span class="method-result"><a href="../default/Definition.html">Definition</a></span>
		<span class="method-name">
			getDefinition
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functiongetDefinitions" id="functiongetDefinitions"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getDefinitions</span> (line <span class="line-number">588</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets all service definitions.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of Definition instances</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getDefinitions
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetExtensionConfigs" id="functiongetExtensionConfigs"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getExtensionConfigs</span> (line <span class="line-number">331</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns the containers for the registered extensions.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of extension containers</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">ExtensionInterface[]</span>
		<span class="method-name">
			getExtensionConfigs
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetInterfaceInjectors" id="functiongetInterfaceInjectors"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getInterfaceInjectors</span> (line <span class="line-number">511</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets defined InterfaceInjectors.  If a service is provided, only that  support the service will be returned.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of InterfaceInjectors</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getInterfaceInjectors
		</span>
					([<span class="var-type">string</span>&nbsp;<span class="var-name">$service</span> = <span class="var-default">null</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$service</span><span class="var-description">: If provided, only injectors supporting this service will be returned</span>			</li>
				</ul>
		
	
</div>
<a name="functiongetResources" id="functiongetResources"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getResources</span> (line <span class="line-number">90</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns an array of resources loaded to build this configuration.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of resources</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">ResourceInterface[]</span>
		<span class="method-name">
			getResources
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetScopeChildren" id="functiongetScopeChildren"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getScopeChildren</span> (line <span class="line-number">186</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getScopeChildren
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetScopes" id="functiongetScopes"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getScopes</span> (line <span class="line-number">181</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getScopes
		</span>
				()
			</div>

		
	
</div>
<a name="functiongetServiceConditionals" id="functiongetServiceConditionals"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getServiceConditionals</span> (line <span class="line-number">788</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			getServiceConditionals
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$value</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$value</span>			</li>
				</ul>
		
	
</div>
<a name="functiongetServiceIds" id="functiongetServiceIds"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">getServiceIds</span> (line <span class="line-number">375</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Gets all service ids.</p>
	<ul class="tags">
				<li><span class="field">return:</span> An array of all defined service ids</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">array</span>
		<span class="method-name">
			getServiceIds
		</span>
				()
			</div>

		
	
</div>
<a name="functionhas" id="functionhas"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">has</span> (line <span class="line-number">229</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if the given service is defined.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the service is defined, false otherwise</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			has
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functionhasAlias" id="functionhasAlias"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">hasAlias</span> (line <span class="line-number">441</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if an alias exists under the given identifier.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the alias exists, false otherwise</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasAlias
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functionhasDefinition" id="functionhasDefinition"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">hasDefinition</span> (line <span class="line-number">621</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if a service definition exists under the given identifier.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if the service definition exists, false otherwise</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasDefinition
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functionhasExtension" id="functionhasExtension"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">hasExtension</span> (line <span class="line-number">80</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			hasExtension
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$name</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"></span>
				<span class="var-name">$name</span>			</li>
				</ul>
		
	
</div>
<a name="functionhasInterfaceInjectorForClass" id="functionhasInterfaceInjectorForClass"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">hasInterfaceInjectorForClass</span> (line <span class="line-number">529</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Returns true if an InterfaceInjector is defined for the class.</p>
	<ul class="tags">
				<li><span class="field">return:</span> true if at least one InterfaceInjector is defined, false otherwise</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">Boolean</span>
		<span class="method-name">
			hasInterfaceInjectorForClass
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$class</span><span class="var-description">: The class</span>			</li>
				</ul>
		
	
</div>
<a name="functionloadFromExtension" id="functionloadFromExtension"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">loadFromExtension</span> (line <span class="line-number">131</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Loads the configuration for an extension.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The current instance</li>
			</ul>
	<div class="method-signature">
		<span class="method-result"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>
		<span class="method-name">
			loadFromExtension
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$extension</span>, <span class="var-type">string</span>&nbsp;<span class="var-name">$tag</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$values</span> = <span class="var-default">array()</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$extension</span><span class="var-description">: The extension alias or namespace</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$tag</span><span class="var-description">: The extension tag to load (without the namespace - namespace.tag)</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$values</span><span class="var-description">: An array of values that customizes the extension</span>			</li>
				</ul>
		
	
</div>
<a name="functionmerge" id="functionmerge"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">merge</span> (line <span class="line-number">302</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Merges a ContainerBuilder with the current ContainerBuilder configuration.</p>
<p class="description"><p>Service definitions overrides the current defined ones.</p><p>But for parameters, they are overridden by the current ones. It allows  the parameters passed to the container constructor to have precedence  over the loaded ones.</p><p>$container = new ContainerBuilder(array('foo' =&gt; 'bar'));  $loader = new LoaderXXX($container);  $loader-&gt;load('resource_name');  $container-&gt;register('foo', new stdClass());</p><p>In the above example, even if the loaded resource defines a foo  parameter, the value will still be 'bar' as defined in the ContainerBuilder  constructor.</p></p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			merge
		</span>
					(<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>&nbsp;<span class="var-name">$container</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type"><a href="../default/ContainerBuilder.html">ContainerBuilder</a></span>
				<span class="var-name">$container</span>			</li>
				</ul>
		
	
</div>
<a name="functionregister" id="functionregister"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">register</span> (line <span class="line-number">555</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Registers a service definition.</p>
<p class="description"><p>This methods allows for simple registration of service definition  with a fluid interface.</p></p>
	<ul class="tags">
				<li><span class="field">return:</span> A Definition instance</li>
			</ul>
	<div class="method-signature">
		<span class="method-result"><a href="../default/Definition.html">Definition</a></span>
		<span class="method-name">
			register
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, [<span class="var-type">string</span>&nbsp;<span class="var-name">$class</span> = <span class="var-default">null</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$class</span><span class="var-description">: The service class</span>			</li>
				</ul>
		
	
</div>
<a name="functionremove" id="functionremove"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">remove</span> (line <span class="line-number">217</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes a service.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			remove
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
				</ul>
		
	
</div>
<a name="functionremoveAlias" id="functionremoveAlias"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">removeAlias</span> (line <span class="line-number">429</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Removes an alias.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			removeAlias
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: The alias to remove</span>			</li>
				</ul>
		
	
</div>
<a name="functionresolveServices" id="functionresolveServices"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">resolveServices</span> (line <span class="line-number">756</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Replaces service references by the real service instance.</p>
	<ul class="tags">
				<li><span class="field">return:</span> The same value with all service references replaced by the real service instances</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">mixed</span>
		<span class="method-name">
			resolveServices
		</span>
					(<span class="var-type">mixed</span>&nbsp;<span class="var-name">$value</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$value</span><span class="var-description">: A value</span>			</li>
				</ul>
		
	
</div>
<a name="functionset" id="functionset"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">set</span> (line <span class="line-number">199</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a service.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> BadMethodCallException</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			set
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type">object</span>&nbsp;<span class="var-name">$service</span>, [<span class="var-type"></span>&nbsp;<span class="var-name">$scope</span> = <span class="var-default">self::SCOPE_CONTAINER</span>])
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
					<li>
				<span class="var-type">object</span>
				<span class="var-name">$service</span><span class="var-description">: The service instance</span>			</li>
					<li>
				<span class="var-type"></span>
				<span class="var-name">$scope</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetAlias" id="functionsetAlias"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setAlias</span> (line <span class="line-number">409</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets an alias for an existing service.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAlias
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$alias</span>, <span class="var-type">mixed</span>&nbsp;<span class="var-name">$id</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$alias</span><span class="var-description">: The alias to create</span>			</li>
					<li>
				<span class="var-type">mixed</span>
				<span class="var-name">$id</span><span class="var-description">: The service to alias</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetAliases" id="functionsetAliases"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setAliases</span> (line <span class="line-number">397</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the service aliases.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setAliases
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$aliases</span>, <span class="var-type">array</span>&nbsp;<span class="var-name">$definitions</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$definitions</span><span class="var-description">: An array of service definitions</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$aliases</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetDefinition" id="functionsetDefinition"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setDefinition</span> (line <span class="line-number">601</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets a service definition.</p>
	<ul class="tags">
				<li><span class="field">throws:</span> BadMethodCallException</li>
			</ul>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDefinition
		</span>
					(<span class="var-type">string</span>&nbsp;<span class="var-name">$id</span>, <span class="var-type"><a href="../default/Definition.html">Definition</a></span>&nbsp;<span class="var-name">$definition</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$id</span><span class="var-description">: The service identifier</span>			</li>
					<li>
				<span class="var-type"><a href="../default/Definition.html">Definition</a></span>
				<span class="var-name">$definition</span><span class="var-description">: A Definition instance</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetDefinitions" id="functionsetDefinitions"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setDefinitions</span> (line <span class="line-number">577</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the service definitions.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setDefinitions
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$definitions</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$definitions</span><span class="var-description">: An array of service definitions</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetExtensionConfigs" id="functionsetExtensionConfigs"><!-- --></a>
<div class="evenrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setExtensionConfigs</span> (line <span class="line-number">342</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the extension configs array</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setExtensionConfigs
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$config</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$config</span>			</li>
				</ul>
		
	
</div>
<a name="functionsetInterfaceInjectors" id="functionsetInterfaceInjectors"><!-- --></a>
<div class="oddrow">
	
	<div>
		<img src="../media/images/Function.png" />
		<span class="method-title">setInterfaceInjectors</span> (line <span class="line-number">539</span>)
	</div> 

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Sets the defined InterfaceInjectors.</p>
	<div class="method-signature">
		<span class="method-result">void</span>
		<span class="method-name">
			setInterfaceInjectors
		</span>
					(<span class="var-type"></span>&nbsp;<span class="var-name">$injectors</span>)
			</div>

			<ul class="parameters">
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$injectors</span><span class="var-description">: An array of InterfaceInjectors indexed by class names</span>			</li>
				</ul>
		
	
</div>
		</div>
	</div>
	
	<p class="notes" id="credit">
		Documentation generated on Thu, 21 Jul 2011 00:28:33 -0400 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>